<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<f:view locale="es_CL">
	<h:head>
		<title>Login - Administración Catastro</title>
		<meta name="author" content="Pablo Sepúlveda - psep" />
		<link rel="shortcut icon" type="image/x-icon"
			href="resources/theme/img/favicon.ico" />
		<link type="text/css" rel="stylesheet"
			href="resources/theme/bootstrap.css" />
		<link type="text/css" rel="stylesheet"
			href="resources/theme/bootstrap.min.css" />
		<link type="text/css" rel="stylesheet" href="resources/theme/Site.css" />

		<script type="text/javascript" src="resources/theme/js/app.js"></script>
	</h:head>
	<body>
		<h:form>
			<div id="login">
				<div class="logo">
					<h:graphicImage value="resources/theme/img/minvu-logo.jpg" />
				</div>
				<div id="loginCampos">
					<p:panel id="formularioInscripcion"
						header="Bienvenido al Sistema Administración de Catastros">
						<p>
							<p:inputText id="username" value="#{loginBean.usuario.username}"
								maxlength="10" size="10" />
							<p:watermark for="username" value="Username" />
							<br />
							<p:password id="password" value="#{loginBean.usuario.password}"
								maxlength="10" size="10" />
							<p:watermark for="password" value="Password" />
							<br /> <br />
							<p:commandButton action="#{loginBean.validaLoginAction}"
								value="Ingresar" update="message" />
						</p>
						<p>
							<p:messages id="message" showDetail="true" autoUpdate="true"
								closable="true" />
						</p>
					</p:panel>
				</div>
			</div>
		</h:form>
	</body>
</f:view>
</html>